package com.ruoyi.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


import java.util.Date;

/**
 * 培训机构基本信息对象 training_institution_infomation
 * 
 * @author wusihao
 * @date 2023-03-27
 */
public class TrainingInstitutionInfomation
{
    private static final long serialVersionUID = 1L;

    /** 内部id */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String name;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 是否具备考点 */
    private Long isExamPlace;

    /** 考试点 */
    @Excel(name = "考试点")
    private String examPlace;

    /** 逻辑删除标志 */
    private Long isDeleted;

    /** 创建者;关联用户ID */
    private Long createId;

    /** 修改者;关联用户ID */
    private Long updateId;

    /** 扩展字段 */
    private String extend;

    /** 申报单位公章 */
    @Excel(name = "申报单位公章")
    private String applicationUnitSheet;

    /** 单位负责人（签字） */
    @Excel(name = "单位负责人", readConverterExp = "签字")
    private String unitHeader;

    /** 单位经办人（签字） */
    @Excel(name = "单位经办人", readConverterExp = "签字")
    private String unitManager;

    // 缴费码
    private String urlFeeCode;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getUrlFeeCode() {
        return urlFeeCode;
    }

    public void setUrlFeeCode(String urlFeeCode) {
        this.urlFeeCode = urlFeeCode;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setIsExamPlace(Long isExamPlace) 
    {
        this.isExamPlace = isExamPlace;
    }

    public Long getIsExamPlace() 
    {
        return isExamPlace;
    }
    public void setExamPlace(String examPlace) 
    {
        this.examPlace = examPlace;
    }

    public String getExamPlace() 
    {
        return examPlace;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setExtend(String extend) 
    {
        this.extend = extend;
    }

    public String getExtend() 
    {
        return extend;
    }
    public void setApplicationUnitSheet(String applicationUnitSheet) 
    {
        this.applicationUnitSheet = applicationUnitSheet;
    }

    public String getApplicationUnitSheet() 
    {
        return applicationUnitSheet;
    }
    public void setUnitHeader(String unitHeader) 
    {
        this.unitHeader = unitHeader;
    }

    public String getUnitHeader() 
    {
        return unitHeader;
    }
    public void setUnitManager(String unitManager) 
    {
        this.unitManager = unitManager;
    }

    public String getUnitManager() 
    {
        return unitManager;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("contactPhone", getContactPhone())
            .append("contactPerson", getContactPerson())
            .append("isExamPlace", getIsExamPlace())
            .append("examPlace", getExamPlace())
            .append("isDeleted", getIsDeleted())
            .append("createId", getCreateId())
            .append("updateId", getUpdateId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("extend", getExtend())
            .append("applicationUnitSheet", getApplicationUnitSheet())
            .append("unitHeader", getUnitHeader())
            .append("unitManager", getUnitManager())
                .append("urlFeeCode", getUrlFeeCode())
            .toString();
    }
}
